import Vue from 'vue'
import Router from 'vue-router'
/* Layout */
// import Layout from 'views/layout'
// import defaultView from 'common/components/defaultView' // 二级菜单router-view入口
// import LeftNav from 'common/components/nav/leftNav.vue' // 左侧导航

Vue.use(Router)

const constantRoutes = [
  {
    path: '/',
    component: () => import('views/home')
  }
]

export default new Router({
  mode: 'history',
  routes: constantRoutes
})
